package com.tender.service.impl;

import com.tender.service.SecurityService;
import com.tender.tools.DigestsUtil;

import java.util.Map;

public class SecurityServiceImpl implements SecurityService {

    @Override
    public Map<String,String> findPasswordByLoginName(String loginName) {
        // 写死的 "123"，模拟根据用户名从数据库查询 密码
        return DigestsUtil.entryptPassword("123");
    }

}
